home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dlasyf.z / dlasyf
Encoding:
Text File  |  2002-10-03  |  5.7 KB  |  199 lines

  1.  
  2.  
  3.  
  4. DDDDLLLLAAAASSSSYYYYFFFF((((3333SSSS))))                                                          DDDDLLLLAAAASSSSYYYYFFFF((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DLASYF - compute a partial factorization of a real symmetric matrix A
  10.      using the Bunch-Kaufman diagonal pivoting method
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DLASYF( UPLO, N, NB, KB, A, LDA, IPIV, W, LDW, INFO )
  14.  
  15.          CHARACTER      UPLO
  16.  
  17.          INTEGER        INFO, KB, LDA, LDW, N, NB
  18.  
  19.          INTEGER        IPIV( * )
  20.  
  21.          DOUBLE         PRECISION A( LDA, * ), W( LDW, * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      DLASYF computes a partial factorization of a real symmetric matrix A
  38.      using the Bunch-Kaufman diagonal pivoting method. The partial
  39.      factorization has the form:
  40.  
  41.      A  =  ( I  U12 ) ( A11  0  ) (  I    0   )  if UPLO = 'U', or:
  42.            ( 0  U22 ) (  0   D  ) ( U12' U22' )
  43.  
  44.      A  =  ( L11  0 ) (  D   0  ) ( L11' L21' )  if UPLO = 'L'
  45.            ( L21  I ) (  0  A22 ) (  0    I   )
  46.  
  47.      where the order of D is at most NB. The actual order is returned in the
  48.      argument KB, and is either NB or NB-1, or N if N <= NB.
  49.  
  50.      DLASYF is an auxiliary routine called by DSYTRF. It uses blocked code
  51.      (calling Level 3 BLAS) to update the submatrix A11 (if UPLO = 'U') or A22
  52.      (if UPLO = 'L').
  53.  
  54.  
  55. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  56.      UPLO    (input) CHARACTER*1
  57.              Specifies whether the upper or lower triangular part of the
  58.              symmetric matrix A is stored:
  59.              = 'U':  Upper triangular
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDLLLLAAAASSSSYYYYFFFF((((3333SSSS))))                                                          DDDDLLLLAAAASSSSYYYYFFFF((((3333SSSS))))
  71.  
  72.  
  73.  
  74.              = 'L':  Lower triangular
  75.  
  76.      N       (input) INTEGER
  77.              The order of the matrix A.  N >= 0.
  78.  
  79.      NB      (input) INTEGER
  80.              The maximum number of columns of the matrix A that should be
  81.              factored.  NB should be at least 2 to allow for 2-by-2 pivot
  82.              blocks.
  83.  
  84.      KB      (output) INTEGER
  85.              The number of columns of A that were actually factored.  KB is
  86.              either NB-1 or NB, or N if N <= NB.
  87.  
  88.      A       (input/output) DOUBLE PRECISION array, dimension (LDA,N)
  89.              On entry, the symmetric matrix A.  If UPLO = 'U', the leading n-
  90.              by-n upper triangular part of A contains the upper triangular
  91.              part of the matrix A, and the strictly lower triangular part of A
  92.              is not referenced.  If UPLO = 'L', the leading n-by-n lower
  93.              triangular part of A contains the lower triangular part of the
  94.              matrix A, and the strictly upper triangular part of A is not
  95.              referenced.  On exit, A contains details of the partial
  96.              factorization.
  97.  
  98.      LDA     (input) INTEGER
  99.              The leading dimension of the array A.  LDA >= max(1,N).
  100.  
  101.      IPIV    (output) INTEGER array, dimension (N)
  102.              Details of the interchanges and the block structure of D.  If
  103.              UPLO = 'U', only the last KB elements of IPIV are set; if UPLO =
  104.              'L', only the first KB elements are set.
  105.  
  106.              If IPIV(k) > 0, then rows and columns k and IPIV(k) were
  107.              interchanged and D(k,k) is a 1-by-1 diagonal block.  If UPLO =
  108.              'U' and IPIV(k) = IPIV(k-1) < 0, then rows and columns k-1 and
  109.              -IPIV(k) were interchanged and D(k-1:k,k-1:k) is a 2-by-2
  110.              diagonal block.  If UPLO = 'L' and IPIV(k) = IPIV(k+1) < 0, then
  111.              rows and columns k+1 and -IPIV(k) were interchanged and
  112.              D(k:k+1,k:k+1) is a 2-by-2 diagonal block.
  113.  
  114.      W       (workspace) DOUBLE PRECISION array, dimension (LDW,NB)
  115.  
  116.      LDW     (input) INTEGER
  117.              The leading dimension of the array W.  LDW >= max(1,N).
  118.  
  119.      INFO    (output) INTEGER
  120.              = 0: successful exit
  121.              > 0: if INFO = k, D(k,k) is exactly zero.  The factorization has
  122.              been completed, but the block diagonal matrix D is exactly
  123.              singular.
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. DDDDLLLLAAAASSSSYYYYFFFF((((3333SSSS))))                                                          DDDDLLLLAAAASSSSYYYYFFFF((((3333SSSS))))
  137.  
  138.  
  139.  
  140. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  141.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  142.  
  143.      This man page is available only online.
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.